<!doctype html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>首页</title>
  </head>

  <body>
    <% if (isLogin) { %>
    <span>欢迎回来</span>
    <% } else { %>
    <button type="button">登录</button>
    <button type="reset">注册</button>
    <% } %>
  </body>
</html>
